from mutiple_site import send_requests
result = send_requests([])
# 怎么解析里面的数据?
# 先将返回的内容一一解析为html,便于css选择
from bs4 import BeautifulSoup
for i in range(len(result)):
    soup = BeautifulSoup(result[i].text, 'html.parser')
    #__layout > div > main > div > div.main-wrap > div > div:nth-child(3) > div.list-result > ul > li:nth-child(1) > div.garden-price > div.up-price > span.number
    #__layout > div > main > div > div.main-wrap > div > div:nth-child(3) > div.list-result > ul > li:nth-child(2) > div.garden-price > div.up-price > span.number
    # 页面内数据是如何被选中的?首先可以被css选择器选中
    print(soup.select_one('#__layout > div > main > div > div.main-wrap > div > div:nth-child(3) > div.list-result > ul > li > div.garden-price > div.up-price > span.number').prettify())
    
    